<%@ page isELIgnored="false"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<html>
<head>
<title><spring:message code="create.title" /></title>
<link rel="stylesheet" type="text/css"
	href="/css/temporal/login-global.css" />
<link rel="stylesheet" type="text/css"
	href="/css/temporal/login-marketplace.css" />
</head>
<body>
	<form:form modelAttribute="register" action="/register/create"
		method="post">

		<div id="com_main_login">
			<div id="login_box" class="login_form">

				<H2>
					<spring:message code="create.legend" />
				</H2>
				<div class="input_block">
					<div class="label">
						<form:label for="displayName" path="displayName"
							cssErrorClass="error">
							<spring:message code="create.label.displayName" />
						</form:label>
					</div>
					<div class="field">
						<form:input path="displayName" id="displayName" name="displayName"
							class="text" title="displayName" type="text" tabindex="1"
							size="30" maxlength="2048" />
						<form:errors path="displayName" cssClass="error" />
					</div>
				</div>
				<div class="input_block">
					<div class="label">
						<form:label for="username" path="username" cssErrorClass="error">
							<spring:message code="create.label.username" />
						</form:label>
					</div>
					<div class="field">
						<form:input path="username" id="username" name="username"
							class="text" title="username" type="text" tabindex="2" size="30"
							maxlength="2048" />
						<form:errors path="username" cssClass="error" />
					</div>
				</div>
				<div class="input_block">
					<div class="label">
						<form:label for="email" path="email" cssErrorClass="error">
							<spring:message code="create.label.email" />
						</form:label>
					</div>
					<div class="field">
						<form:input path="email" name="email" class="text" title="email"
							type="text" tabindex="3" size="30" maxlength="2048" />
						<form:errors path="email" cssClass="error" />
					</div>
				</div>
				<div class="input_block">
					<div class="label">
						<form:label for="password" path="password" cssErrorClass="error">
							<spring:message code="create.label.password" />
						</form:label>
					</div>
					<div class="field">
						<form:password path="password" id="password" name="password"
							class="text" title="password" type="password" tabindex="4"
							size="30" maxlength="2048" />
						<form:errors path="password" cssClass="error" />
					</div>
				</div>			
				<p>
					<a href="#" tabindex="5" onclick="$(this).closest('form').submit()"><img
						src="/css/temporal/images/btn_log_in.png"/></a>
					<!-- <input name="reset" type="reset" value="<spring:message code="global.reset" />" /> 
                   <input name="submit" type="submit" value="<spring:message code="global.submit" />" />-->
				</p>
			</div>
		</div>
	</form:form>
</body>
</html>
